﻿using SqlSugar;
using System;

namespace OldDataSync.NewDomains
{
    ///<summary>
    /// 心理记录实体表
    ///</summary>
    public class PARecords : BaseDomain
    {
        /// <summary>
        /// PA选项表
        /// </summary>
        [SugarColumn(Length = 20)]
        public string PATable { set; get; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public int CustomerId { set; get; }

        /// <summary>
        /// 客户身份证号
        /// </summary>
        [SugarColumn(Length = 18)]
        public string IDNumber { set; get; }

        /// <summary>
        /// 风险登记
        /// </summary>
        public int RiskLevel { set; get; }

        /// <summary>
        /// PHFMGP12分数
        /// </summary>
        public int PHFMGP12 { set; get; }

        /// <summary>
        /// PHFMGP13_25分数
        /// </summary>
        public int PHFMGP13_25 { set; get; }

        /// <summary>
        /// PHFMHP26_39分数
        /// </summary>
        public int PHFMHP26_39 { set; get; }

        /// <summary>
        /// PHFMHP40_50分数
        /// </summary>
        public int PHFMHP40_50 { set; get; }

        /// <summary>
        /// BST分数
        /// </summary>
        public int BST { set; get; }

        /// <summary>
        /// 创建日期
        /// </summary>
        [SugarColumn(IsOnlyIgnoreUpdate = true, IsOnlyIgnoreInsert = true, IsNullable = true, DefaultValue = "GETDATE()")]
        public DateTime CreateDate { set; get; }
    }
}
